import csv
ages = []
heights = []
names = []

with open('students.csv','r') as f:
    reader = csv.reader(f)
    for (i, content) in enumerate(reader):
        if i > 0:
            if int(content[2]) > 10:
                names.append(content[0])
            ages.append(int(content[2]))
            heights.append(int(content[3]))


ages_sum = 0
heights_sum = 0
for ages_num in ages:
    ages_sum = ages_sum + ages_num
for heights_num in heights:
    heights_sum = heights_sum + heights_num

print(ages_sum / len(ages))
print(heights_sum / len(heights))
print(names)
